﻿<script src="../../../processing.js"></script>
<canvas datasrc="pimage.pjs" width="200" height="200"></canvas>
<br />
<pre>
size(200,200);
background(0);
PImage img = createImage(128, 128, ARGB);
for (int i = 0; i < img.pixels.length; i++) {
  img.pixels[i] = 13369446 + (i % img.width * 2 * 16777216);
}
image(img, 10, 10);
for (int i = 0; i < img.pixels.length; i++) {
  img.pixels[i] = 2064181 + (i % img.width * 2 * 16777216);
}
img.updatePixels();
image(img, 62, 62);
</pre>
